SAP HANA Character Function Support

TDV supports the character functions listed in the table below for SAP HANA.

SAP HANA Character Function

Notes

ASCII

 

CHAR

Mapped from CHR.

CONCAT

 

LCASE

 

LEFT

 

LENGTH

Mapped from CHAR_LENGTH, CHARACTER_LENGTH, or LENGTH.

LIKE_REGEXP

Mapped from REGEXP.

LOCATE

Mapped from FIND, INSTR, LOCATE, or POSITION.

LOWER

 

LPAD

 

LTRIM

 

NCHAR

Mapped from UNICHR.

REPLACE

 

REPLACE_REGEXPR

Mapped from REGEXP_REPLACE.

RIGHT

 

RPAD

 

RTRIM

 

SUBSTR

 

SUBSTR_REGEXPR

Mapped from REGEXP_EXTRACT.

SUBSTRING

In the 3-argument form, if the second argument is 0 or negative, SAP HANA’s results deviate from SQL standard. To prevent nonstandard results, add OPTION STRICT to the query.

TRIM

 

UCASE

 

UNICODE

 

UPPER